package com.example.demo.service.impl


import com.example.demo.entity.Common
import com.example.demo.mapper.CommonMapper
import com.example.demo.service.CommonService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

@Service
class CommonServiceImpl : CommonService {
    @Autowired
    private lateinit var mapper: CommonMapper
    override fun findAll(): List<Common> {
           return mapper.findALl()
    }


}